<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script src="js/中介者模式.js"></script>
    <script type="text/javascript">
        var funObj=function () {
            console.log('subscribe 方法执行了...');
        }

        //var subscribeObj=mediator.subscribe("tp",funObj);

        console.log(mediator.subscribe);


    </script>
</body>
</html>